﻿using Orchard.UI.Resources;

namespace AIM.jQuery
{
	public class ResourceManifest : IResourceManifestProvider
	{
		public void BuildManifests(ResourceManifestBuilder builder)
		{
			var manifest = builder.Add();

			manifest.DefineScript("jQueryPlugin_MouseWheel").SetUrl("mousewheel/jquery.mousewheel-3.0.6.min.js", "mousewheel/jquery.mousewheel-3.0.6.js").SetVersion("3.0.6").SetDependencies("jQuery");
			manifest.DefineScript("jQueryPlugin_ColorAnimations").SetUrl("coloranimation/jquery.color.min.js", "coloranimation/jquery.color.js").SetDependencies("jQuery");

			manifest.DefineScript("jQueryPlugin_ColorPicker").SetUrl("colorpicker/colorpicker.js").SetVersion("2009.05.23").SetDependencies("jQuery");
			manifest.DefineStyle("jQueryPlugin_ColorPicker").SetUrl("colorpicker/colorpicker.css");
		}
	}
}
